package com.gupaoedu.pattern.factory.function;

public class FactoryTest {
	
	public static void main(String[] args) {
	
	//nike
	Factory factory = new NikeFactory();
	factory.getShoes().walk();

	//adidas
	Factory factory2 = new AdidasFactory();
	factory2.getShoes().walk();
	
		
	}
}
